package com.exam.dao.base;

import java.io.Serializable;
import java.util.List;


public interface IBaseDao<T> {
	
	public Serializable save(T entity);	
	public Serializable merge(T entity);
	

	public void update(T entity);	
	
	public void saveOrUpdate(T entity);

	public void delete(T entity);	

	public T findByKey(Serializable id);

	public List<T> findAll();
	
}
